import {request} from "./request";

export function getResumeById(id){
	return request({
		url: '/emp/resume/' + id,
		method: 'get'
	})
}

export function getResumeWindowData(){
	return request({
		url: '/emp/resume/options-window',
		method: 'get',
		params:{}
	})
}

//1.获取登录员工简历
export function getEmpResume(){
	return request({
		url: '/personal/resume',
		method: 'get'
	})
}

//2.修改员工简历
export function updateEmpResume(resume){
	return request({
		url: '/emp/resume/update',
		method: 'put',
		data: resume
	})
}
